package HomeWork;

public class CarTest {
    public static void main(String[] args) {
        Car bm = new Car();
        bm.brank="宝马";
        bm.color="白";
        bm.price=500000;
        bm.capacity=5;
        bm.start();
        bm.run();
        bm.stop();

        Car ad=new Car();
        ad.brank="奥迪";
        ad.color="银";
        ad.price=300000;
        ad.capacity=5;
        ad.start();
        ad.run();
        ad.stop();
    }

}
